﻿namespace Agile.Service.Admin.Model.ViewModel.New
{
    public class NewInfoBaseViewModel
    {
        ///<summary>信息ID</summary>
        public long NewID { get; set; }

        ///<summary>信息类型</summary>
        public long NewTypeID { get; set; }

        ///<summary>标题</summary>
        public string Title { get; set; }

        ///<summary>内容</summary>
        public string Content { get; set; }

        ///<summary>联系电话</summary>
        public string Tel { get; set; }

        ///<summary>发布人</summary>
        public long Publisher { get; set; }
        public string PublisherName { get; set; }

        ///<summary>认证类型(T=茶农,C=茶企,B=中间商)</summary>
        public string AuthTypeCode { get; set; }
        public string AuthTypeText { get; set; }

        ///<summary>发布时间</summary>
        public DateTime PublishTime { get; set; }

        ///<summary>浏览量</summary>
        public int Visits { get; set; }

        ///<summary>状态</summary>
        public string Status { get; set; }

        ///<summary>状态名称</summary>
        public string StatusText { get; set; }
    }
    public class QueryPageNewInfoResponse : NewInfoBaseViewModel
    {
        ///<summary>图片附件</summary>
        public string AttachUrl { get; set; }

        public long AttachID { get; set; }
    }

    public class GetDetailNewInfoResponse : NewInfoBaseViewModel
    {
        ///<summary>图片附件</summary>
        public List<string> AttachUrlList { get; set; } 

        ///<summary>公司名称</summary>
        public string CompanyName { get; set; }
    }
}
